diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-10-08 11:39:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-10-08 11:39:52 +0100 |
| commit | cea0bc0d3bfe54a799bbbcd491e3221aa7103aa4 (patch) | |
| tree | a628073c21be565887f21e0ba5cb6769e09cd405 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | b0a288f03774d3df6f4502af7748a52012e05029 (diff) | |
Tidy up snapshots
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 0 insertions, 53 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected deleted file mode 100644 index 2b159ad8..00000000 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ /dev/null @@ -1,53 +0,0 @@ - -module.wasm: file format wasm 0x1 - -Section Details: - -Type[2]: - - type[0] (i32) -> i32 - - type[1] () -> nil -Import[3]: - - table[0] type=funcref initial=0 <- env.__indirect_function_table - - func[0] sig=0 <shed__runtime__alloc> <- env.shed__runtime__alloc - - memory[0] pages: initial=0 <- env.__linear_memory -Function[2]: - - func[1] sig=0 <shed__function__f__0> - - func[2] sig=1 <f> -Code[2]: - - func[1] size=5 <shed__function__f__0> - - func[2] size=27 <f> -Custom: - - name: "linking" - - symbol table [count=3] - - 0: F <shed__runtime__alloc> func=0 [ undefined explicit_name binding=global vis=default ] - - 1: F <shed__function__f__0> func=1 [ binding=global vis=default ] - - 2: F <f> func=2 [ binding=global vis=default ] -Custom: - - name: "reloc.CODE" - - relocations for section: 3 (Code) [2] - - R_WASM_FUNCTION_INDEX_LEB offset=0x000016(file=0x000097) symbol=0 <shed__runtime__alloc> - - R_WASM_TABLE_INDEX_SLEB offset=0x000020(file=0x0000a1) symbol=1 <shed__function__f__0> -Custom: - - name: "name" - - func[0] <shed__runtime__alloc> - - func[1] <shed__function__f__0> - - func[2] <f> - - func[1] local[0] <closurePointer__0> - - func[2] local[0] <closurePointer__0> - -Code Disassembly: - -000087 func[1] <shed__function__f__0>: - 000088: 41 00 | i32.const 0 - 00008a: 0f | return - 00008b: 0b | end -000091 func[2] <f>: - 000092: 01 7f | local[0] type=i32 - 000094: 41 04 | i32.const 4 - 000096: 10 80 80 80 80 00 | call 0 <shed__runtime__alloc> - 00009c: 21 00 | local.set 0 <closurePointer__0> - 00009e: 20 00 | local.get 0 <closurePointer__0> - 0000a0: 41 80 80 80 80 00 | i32.const 0 - 0000a6: 36 02 00 | i32.store 2 0 - 0000a9: 20 00 | local.get 0 <closurePointer__0> - 0000ab: 0b | end
\ No newline at end of file |
